package org.example.lanhang.service;

import org.example.lanhang.VO.workervo;
import org.example.lanhang.entity.Worker;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.lanhang.util.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gww
 * @since 2025-01-12
 */
public interface IWorkerService extends IService<Worker> {

    PageResult<Worker> findByPage(Integer page, Integer pageSize);

    PageResult<Worker> search(Integer page, Integer pageSize, workervo vo);

    boolean add(Worker worker);
}
